BART will get a decade of use out of cars meant for San Jose