A judge ruled that the professor was let go because of a poor evaluation, not because he spoke out about secret recordings of his classroom.