Improvements on Diff3 algorithm (deal with removed items better).