Oil surrendered hefty gains as some speculated Iran would be unlikely to strike against the United States in a way that would disrupt supplies, and its own crude exports.