US commanders knew Haditha deaths from gunfire: NYT