Set prev when splitting a range on deletion

If it was not set, then DLIST_REMOVE was crashing
as it was impossible to rebuild the proper list.
Merge pull request #126 from sixstone-qq/ejhernandez/fix-split-range-on-delete

Set prev when splitting a range on deletion