An exchange during PMQs has provoked a row over the government’s commitment to freedom of speech