The Department of Justice will investigate amid criticism that police waited to tackle the shooter.