The United States said Thursday it had specifically alerted Iran to the threat of an attack before bombings claimed by the Islamic State group killed…