RFC: fixed rescaling in expm (issue 5116)

Apparently the undoing of the balancing via GEBAL was not correct. See #5116 for a test matrix.