Change promotion criterion in linalg functions from sqrt to norm

When promoting the element types in e.g. `qrfact` and `eigfact` the closure should be with respect to normalisation not square root.