Israel came to Iran’s rescue decades ago—and might again be the Islamic republic’s best hope for avoiding catastrophe