Fixed a compiler bug that folded constant division by zero

The div-by-zero error should be raised at runtime.