Education ministry says schools must consult on gender segregation