Trump’s comments on the shooting that occurred about 36 hours earlier were the first he had made addressing the violence.