As part of agreement, buses will be rerouted to other parts of the city from the massive transportation terminal – which has been maligned for decades as a source of crime and pollution