A leading evolutionary biologist who defended Darwin’s theory in books and in the courtroom, he was forced to retire amid charges of sexual harassment.