TST fix skipping for non-canonical sparse tests
STY refactor inequalities for CSR/C

Otherwise, the differences are difficult to spot
BUG comparison operators for non-canonical compressed sparse matrices
STY minor changes to compressed matrix comparison
Merge pull request #3270 from jnothman/comparison_duplicate

BUG: sparse: fix comparison operators for non-canonical CSR/C sparse matrices