Danny Elfman lost a bid to dismiss a defamation lawsuit against him from a woman who accused him of sexual harassment.