calc/calc-units.el (math-extract-units): Properly extract powers of units.