ENH provide a short-circuit for CSR/CSC/BSR sum_duplicates

Parallel to `has_sorted_indices`, this provides `is_canonical`, allowing `sum_duplicates` to be avoided in repeated operations.