The deaths of Iran’s president, Ebrahim Raisi, and foreign minister left the country without two of its most influential figures at a moment of regional and domestic tumult. Funeral services will be held in three cities from Tuesday through Thursday, the state media said.