_eval_is_zero implemented for Pow class, fixes issue #7965

> since other cases are considered before

Which cases?

> please correct me

"Other cases" are not considered above.