Most of them were fired under a system that held them accountable for students’ standardized test scores.