ENH Refactor and speed up CSR fancy indexing