Improve test stability

This is a small series of patches to fix umfpack/umfpack_04 and
bits/step-51 that randomly fail on certain architectures due to roundoff
errors.