Use a single cat-file invocation to resolve old reference values
We're resolving each reference one at a time in transaction manager. It would be more performant to resolve all of the old values of references when verifying them with a single cat-file --batch
invocation.