Phillips 66 to buy remaining stake in partnership for $3.4 billion