Devon Energy to sell stake in Canadian pipeline for $1.4 billion