Merge pull request #3847 from 9rnsr/fix13259

[REG2.066a] Issue 13259 - [ICE] 'v.result' on line 191 in file 'todt.c'
Merge pull request #3846 from 9rnsr/fix13252

[REG2.061] Issue 13252 - ParameterDefaultValueTuple affects other instantiations
Merge pull request #3840 from 9rnsr/fix13225

Issue 13225 - [ICE] Access violation on invalid mixin template instantiation
Merge pull request #3848 from WalterBright/fix13237

fix Issue 13237 Wrong code with -inline -O
Merge pull request #3834 from 9rnsr/fix11453

Issue 11453 - Compiling packages has a dependency on order of modules passed to the compiler
Merge pull request #3851 from 9rnsr/2.066

Cherry-picking commits from master to 2.066 branch (for RC2)