Doctors have saved a baby in the womb from a deadly genetic disorder with a first-of-its-kind brain surgery.