7594: power rules correction so (x**y)**z != x**(y*z)

fixes #7594
this is to guard against the single-arg logic where this became x in master