Get a resolve undo entry from the index.
The returned entry is read-only and should not be modified or freed by the caller.
an existing index object
the position of the entry
a pointer to the resolve undo entry; NULL if out of bounds