MONTREAL — Canadian Pacific Railway Company has been cleared of all liability in the Lac-Mégantic, Que., train disaster that claimed 47 lives in 2013.