Principals more likely to leave schools with larger minority student body, new study finds