The school district’s police force fumbled its response to the mass shooting and the tumultuous aftermath.