US university fires professor for optional assignment on Gaza 'genocide'