Added DirIndex.empty_diff_index method.