Remove an entry from the index
an existing index object
position of the entry to remove
GIT_SUCCESS or an error code