merge-recursive: fix remainder of was_dirty() to use original index