The Canadian government ordered the country’s two major freight railroads to enter binding arbitration Thursday to resolve a labor dispute that forced trains to a halt across the country.