_eval_is_zero implemented for Pow class, fixes issue #7965

also wrong math.