The school district reported dozens of cases and potentially hundreds of students exposed to the virus as their close contacts, mostly in one grade.