BOSTON — The eight Massachusetts Bay Transportation Authority trains that derailed last year were the most of any light rail public transit agency in the country.The federal National Transit Database, which tracks safety data for transportation systems, says six Green Line trolleys and two subway maintenance vehicles derailed in 2016.The New Orleans Regional Transit Authority and the San Francisco Municipal Railway each had six derailments.