Iran and the U.S. seem to have reversed roles. Iran's isolation before the nuclear deal now contrasts with America's determination to swim against the global tide.