Optimization Model and Algorithm for Flexible Use of Urban Rail Transit Vehicles