In California’s San Joaquin Valley, old-fashioned pump jacks eke out a trickle of crude that’s among the dirtiest in America.