Justice Department officials said the company’s cooperation allowed the government to help victims of the attack and ultimately indict and arrest the man who spearheaded it.