Former acting White House chief of staff Mick Mulvaney said on Wednesday that he had helped talk President Donald Trump out of a war with Iran in 2019.