Remove all conflicts in the index (entries with a stage greater than 0).
an existing index object
0 or an error code