Ex-Novartis sales rep wins maternity-leave case