Use condition numbers in linear solver tests

Replaces magic numbers in error bounds for general dense and triangular solve tests.

Fix #5678, ref #5605