Remove an entry from the index
an existing index object
position of the entry to remove
0 on success, otherwise an error code