fix(dirty_checking): prevent circular linked list in _DuplicateItemrecordList#remove()

The statements which nulled out record._prevDupRecord and record._nextDupRecord were commented out,
causing an infinite loop which was breaking travis tests. Some tests are still failing, but it's
getting through them at least.