Sir Keir Starmer said he would consider all options to address the looming cost-of-living crisis as a result of the Iran war.