Phillips 66 to sell N.Y. terminal to United Refining