Add special elif case Pow._eval_is_real for self.base in (I, -I), fixes #7843
Merge pull request #7848 from skirpichev/7843-fix

 Add special elif case Pow._eval_is_real for self.base in (I, -I)