BROOKLYN - Riders of the B train faced major headaches today after the Metropolitan Transportation Authority said a work train derailed in Brooklyn. Service on the B line has been restored in both directions between Brighton Beach in Brooklyn and Bedford Park Boulevard in the Bronx. Many residents said they arrived late to work today because of the derailment.