First-of-its-kind brain surgery saves baby before birth