Avoid NaN production at compile-time in range analysis and constant folding

* src/pf/optimize.lua: The runtime assertions will preclude
  rhs-is-zero.  At compile-time avoid evaluating such a case.
Merge pull request #53 from Igalia/wip-zero-nan

Avoid NaN production at compile-time in range analysis and constant fold...