The vanishing of a higher codimension analogue of Hochster’s theta invariant