Nick Foles bounces back against Patriots