Poor judgment on the basepaths was especially costly as the Phillies ruined a strong performance by Painter, who pitched despite migraines.