Fixed rm_file_list_remove_double_paths.

Now correctly handles cases with a mixture of hardlinks, path_doubles and FS loops in one cluster.