Appointment of 24 thousand teachers cancelled