I thought about something like that (doubling back to SF and then taking BART to Pleasant Hill). It would save about 40 miles of riding. When you consider the time spent waiting for and then riding the train this option would save maybe 2 hours at most. I decided that it was worth it to me to ride the extra distance. Plus loops are always more appealing to me than out-and-backs just on general principle.