Cleanup using index during insert operation failure

This approach relies that allocate method works reliably, but it's more flexible if multiple similar values are stored it would remove proper one, not 1st encountered). We don't actually need this, but who knows how it'll change