UCL lecturer warns academic freedom at risk as module removed after student comp