Fix 1**z evaluation if z is infinite

closes #8582
Fix evaluation of Abs(oo + imag) or Abs(real + I*oo)
Merge pull request #8605 from skirpichev/8582-pow-eval

Fix 1**z evaluation if z is infinite