What was the Pennsylvania battle that ended Lee's last hopes for achieving victory through invading the North?