An employment tribunal found the teachers were unfairly dismissed