Homosexuality comments could be sign of extremism, says Education Secretary