From a macro perspective, history shows supply-side inflation shocks can translate into growth shocks. If the economy slows, policymakers might respond with countercyclical stimulus, especially in an election year.
The size of additional funding for Iran ($100-$200B) will weigh on the deficit. A 'skinnier' bill with less deficit impact might be good for Treasuries, but slower growth would not be good for the economic environment before the midterms.