more efficient setindex for sparsematrix
replaced splice! with deleteat!
Merge pull request #6789 from tanmaykm/sparse

more efficient setindex for sparsematrix