pinv: fix the tolerance parameter for diagonal matrices
Merge pull request #9101 from zgimbutas/pinv-consistency

pinv: fix the tolerance parameter for diagonal matrices