function clearSelectionAndRestoreSaved(saved) {
  Range.clearSelection(window);
  assertFalse(Range.hasSelection(window));
  saved.restore();
  assertTrue(Range.hasSelection(window));
}
Clear the selection by re-parsing the DOM. Then restore the saved
selection.
@param {dom.SavedRange} saved The saved range.