I'm not sure going to war would help Trump, seeing as how the American public might view a war with Iran as his fault, and Trump's prosecution of such a war probably would leave much to be desired. It also helps that Biden, assuming he still wins the Democratic nomination (and with foreign policy dominating the conversation, he'd have an even better chance of doing so.He probably now wins both the Iowa Caucus/New Hampshire Primaries), as a foreign policy expert would look a lot better compared to Trump. That said, I don't think Biden picks Harris here. I think he'd underline his foreign policy strengths and pick Susan Rice as his running mate instead.
Joe Biden/Susan Rice (D) 58%
Donald Trump/Mike Pence 30%
Evan McMullin/Condoleeza Rice (I) 11%