Adjusted test threshold for expm(::Diagonal)

Ref. #5605