Ostarine is pretty much the best supplement you can take to prevent muscle loss. It was developed to prevent muscle loss in people with muscle wasting diseases like HIV and cancer.
I doubt you need anything with losing pregnancy weight. If it was someone with a large muscle mass but also some fat that was cutting, I would say Ostarine.