Even accepting the tradeoff you posit, the basis of this argument seems to be that given the choice between guaranteed maternity leave and marginally higher expected pay, women should prefer the latter, or at least not be forced to chose the former.
Have you asked any actual women about that?