Iran was not planning a sneak attack or working on a nuclear weapon, Donald Trump's former counterterrorism chief has said.