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

fixes #7594
none of these are recognized, now. I just marked the whole test with XFAIL. @lidavidm , do you know how to fix this?