The struggles of Iran's economy are testing its ability to withstand the war and defy Washington’s demands.