Pence helps Phillies snap three-game skid