I removed this behaviour in bug 1951573. Unfortunately, it turns out that contrary to the spec (which says "1 or more selections"), NVDA depends on this behaviour. Reinstate this by supporting kRemoveAllExistingSelectedRanges in HyperTextAccessibleBase::RemoveFromSelection and using that. Differential Revision: https://phabricator.services.mozilla.com/D247875