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

fixes #7594
This is how exp's logic was written so I moved that to here: if any part is polar then the joining occurs. If that isn't supposed to be true this is now the one place to fix it.