The estranged couple's nanny had sued for alleged sexual harassment, among other things.