The death of Iran’s hardline president might create some political terrain for moderates there and stabilize relations with a complacent West and especially the Biden administration, eager to put a lid on the Middle East before November’s presidential elections.