Only set pjax.state if pushing or replacing

PJAX with both both options.push and options.replace set to false can be used to simply replace chunks of page content, without touching your navigation history.

This use case is undocumented and not robust, but this tiny change ensures that PJAX back/forward behaviour stays correct even if PJAX is used in this "stateless" way elsewhere on the page.