The dismissal of a graduate student for noncompliance with COVID testing policy at the University of Illinois at Urbana-Champaign prompted an outcry among fellow students and raised questions about how far institutions should go to enforce rules and punish violators.