The dean of the City University of New York School of Law has revealed that her decision to retire was precipitated by a racially offensive comment she made during a faculty meeting in November.