What happens to notice pay when an employee resigns while on maternity leave?