Fix 1**z evaluation if z is infinite

closes #8582
> Yes, sure.

When that change is made then the issue will be closed. (If I'm not mistaken, `1**(oo + I*oo)` is still 1.)