The death of Iran’s president will spark a high-stakes power struggle

Amid a regional war, a fight at home between the clerics and military looms