ConocoPhillips has agreed to sell two oilfields and a pipeline in the Gulf of Mexico to Shell subsidiaries for $735 million.