Giants surge in eighth to reward Bumgarner