Iran struck back at the United States early on Wednesday for killing its most powerful military commander, firing a barrage of ballistic missiles at two Iraqi military bases that house American troops in what the Iranian supreme leader said was a “slap” against America's military presence in the region.