University spent £1.8 million on  ‘gagging orders’ in last five years