Remove an entry by its index.
Index must be >= 0 and < than git_tree_entrycount().
This will mark the tree as modified; the modified entry will be written back to disk on the next git_object_write()
Tree where to remove the entry
index of the entry
0 on successful removal; GIT_ENOTFOUND if the entry wasn't found