MAINT: restore fast path for sparse matrix multiplication