The speech policies caused an ‘ongoing chill’ on a professor’s right to express himself, a judge found