Removes the index entries that represent a conflict of a single file.
an existing index object
path to remove conflicts for
0 or an error code