Bug 965697 - Fix intermittent browser_sessionHistory.js failures by waiting until the history entry has been replaced