index: remove `range.detach()`

It's a no-op now: http://dom.spec.whatwg.org/#dom-range-detach