Delete the IndexAllocator when the subet is deleted

Change-Id: Icf04983ddf9726ea4ae904e24accde886c61d1f9
Closes bug: #1365824
Merge "Delete the IndexAllocator when the subet is deleted"