The education secretary has been accused of a U-turn after she decided to proceed with controversial free speech laws brought in by the Conservatives.