fix Issue 13784 - Wrong code with modulo operation and optimisations enabled
Merge pull request #4214 from WalterBright/fix13784

fix Issue 13784 - Wrong code with modulo operation and optimisations ena...
fix Issue 13864 - tuple expand causes range violation
Merge pull request #4216 from 9rnsr/fix13864

[REG2.066] Issue 13864 - tuple expand causes range violation