This is a pretty tough spot. You don't want to impede someone's career because of there reproductive choices but at the same time were the teams wrong in not wanting to introduce a new manager about to take a months long medical leave? You can look at the suggested early medical leave as being pushed out (and it certainly could have been) but it also strikes me as a good option if you only want to work in a rock star…
I don't like how she was treated, and I don't see how introducing a manager that leaves makes sense either.
My understanding is that we have an egalitarian ideal we want to reach - for career driven wage workers - but don't have a successful business structure that remains competitive here as it predates this need completely?