elide unnecessary CQDE
Merge pull request #1921 from WalterBright/boolToLong

elide unnecessary CQDE