Fix SparseLU and SparseQR on row-major and uncompressed sparse inputs

libeigen/eigen!2433

Closes #1964 and #798
4 files changed