Trump has tied the end of his war on Iran to the midterms. But with Iran holding firm, the political cost is mounting.