Science Secretary Michelle Donelan had claimed a university professor sympathised with Hamas.