fix Issue 11311 - Destructor not called on temporary with opIndex + opSlice
Merge pull request #2688 from 9rnsr/fix11311

[REG2.064a] Issue 11311 - Destructor not called on temporary with opIndex + opSlice