The school headmaster said mirrors could encourage pupils to spend too much time in toilets, often in large groups.