Jeff Mathis walked things off to end a nearly six-hour marathon in the desert between the Dodgers and Snakes