Many of the passengers were traveling to the annual fireworks show at San Francisco’s Embarcadero, where BART used a “skip-stop” schedule for the first time to alleviate overcrowding at its nearby station.