Backport cmp_ok fix from alphas

Fix #478

The cmp_ok tool can give false passes when the operator is a value
prefixed with '#'. There are also other situations where it falls apart.
Wrapping it in parens, and following some other better eval practices
can help reduce false passes.
Version Bump 1.001009