Fix 1**z evaluation if z is infinite

closes #8582
Does this mean that `(oo+I*oo).is_infinite` and `(var('a', positive=True, infinite=True) + var('b', positive=True, infinite=True)).is_infinite` are both None?