expm: fixed rescaling
Merge pull request #5151 from acroy/expm-scaling

RFC: fixed rescaling in expm (issue 5116)