index: Change the memory management for repo indexes The `git_repository_index` call now returns a brand new index that must be manually free'd.