Haverford College president resigns, will head the Met