Mercurial: revert to standalone install

This resolves issues with the hg binary being in the wrong place and
the docutils module being required to install.

Note that users who need mercurial installed as a Python module will
need to install it some other way.

Closes #20620.