The ongoing war in Iran has weighed on consumers and completely offset the benefits of Trump's tax cuts, Moody's Mark Zandi said.