An American government achieves a landmark diplomatic agreement with an archenemy of Israel, potentially averting a costly war for the United States but possibly risking Israel’s very survival.