President Donald Trump shelved plans on Monday to attack Iran's power plants in a stunning about-turn sparked by what he said were "very good" talks with unidentified Iranian officials to bring an end to the war.