Remove inconsistently-used Range.endCmd() method.

It also would require locking the range mutex twice in a row in some
common use cases.