When we have an array of resources, we can end up with several places where we dx.op.CreateHandle/dx.handle.fromBinding from a single binding. In this case, we need to make sure that DXILResourceAnalysis doesn't report extra bindings. This means we need to replace the simple MapVector for the analysis result with a data structure that better represents what we need.
See https://godbolt.org/z/cn9rzKfzj for an example of the bindings DXC generates from an array of buffers.