Fix Pow._eval_is_integer in case base.is_integer is False

closes #8641
Merge pull request #8645 from skirpichev/8641-fix

Fix Pow._eval_is_integer in case base.is_integer is False