Principal who transformed college into one of England’s best to retire