Deal with raising a chebfun to negative integer power more appropriately

Fixes #1068