The education department made the undertaking after 12 students at Pretoria High School for Girls were cleared of racism by the school’s governing body