*United Refining to buy Phillips 66 terminal