Facing war with Iran and rising prices, Donald Trump is rethinking his attacks on Jimmy Carter, invoking the 39th president's troubled legacy as a warning of what he is determined not to become.