ENH getting single element from CSR/CSC sparse matrix with duplicates

It's unclear to me why this wasn't handled before as it has little relative cost.

This also removes code from `csr.py` that duplicates `compressed.py`