The Boston-area’s aging subway system has for years neglected safety and maintenance while it focused on long-term capital projects, federal transportation officials said in a highly critical report based on a review started earlier this year in response to several accidents and other problems with the system.