Add pivoting to LU decomposition.
Merge pull request #5430 from JuliaLang/anj/lup

Add pivoting to LU decomposition.