make sure we're merging stateParams and toParams in stateChangeError in the event of multiple redirects