elide unnecessary CQDE
fix Issue 9679 - Refused const/immutable assignment in conditional
Merge pull request #1937 from 9rnsr/fix9679

Issue 9679 - Refused const/immutable assignment in conditional
Merge pull request #1921 from WalterBright/boolToLong

elide unnecessary CQDE