fix Issue 10178 - Compiler segfault with zero-length tuple comparison
Merge pull request #2082 from 9rnsr/fix10178

[REG2.063a] Issue 10178 - Compiler segfault with zero-length tuple comparison
Fix up for bug 10178

Treat side effect correctly
Merge pull request #2083 from 9rnsr/fix10178

Fix up for bug 10178