Network Rail engineers have finished renewing track through a narrow Victorian railway tunnel on the West Coast Main Line.