Fix Issue 13190 - Optimizer breaks comparison with zero
Merge pull request #3803 from yebblies/issue13190

[DDMD] Issue 13190 - Optimizer breaks comparison with zero