FInstanceIdIndexMap::ResizeExplicit

Make sure the mapping is explicit and add enough space to accommodate the InNumInstances & MaxInstanceId.