Oil had not flowed through the pipeline since a 2015 rupture caused an environmental disaster on California’s Central Coast.