Apply a single stashed state from the stash list and remove it from the list if successful.
The position within the stash list. 0 points to the most recent stashed state.
0 on success, GIT_ENOTFOUND if there's no stashed state for the given index, or error code. (see git_stash_apply() above for details)