Pjax redirect fix

I made a mistake in #2531. 
In case of a redirect in a pjax response, we need to send X-Pjax-Url header (to push this url into browser state), but we also need the X-Redirect (since pjax is actually a ajax request) to redirect browser.