The US spent decades building an empire of military bases throughout the Middle East. Now they’re under attack.