As Mr. Grayson wrote in an October letter to the university’s president, “I do not believe that we want to be known as a university in which the rights of female students can be compromised by religious concerns.” The student, meanwhile, respected the professor’s decision and attended the group sessions without complaint.