_eval_is_zero implemented for Pow class, fixes issue #7965

what changes do you suggest then