Maybe `_nestSiblingsUntilNextLiInFirstLiAndRemoveNode`

Based on how hard it was to explain this function, I wonder if moving the `$newLi.remove()` call to line 2077 (after this method is called) wouldn't make more sense. That would make the name `_nestSiblingsUntilNextLiInFirstLi`.