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

fixes #7843

@smichr, @hargup