Hernandez's RBI single in 9th lifts Phillies over Nats 4-3