A leading physicist at Berkeley University resigned in protest after his colleagues rejected his bid to invite a speaker to campus.