Remove the latest history state on redirects to fix behavioral differences between Chrome and FF.