The resignation comes as we were investigating reports of racially derogatory language,” a school district email says.