BUG: sparse/lil: simplify __setitem__ and fix bugs in it
BUG: sparse/lil: simplify __setitem__ and fix bugs in it

The sparse matrix code path always uses .toarray(), so it can be
scrapped.

pbrod/scipy,Newman101/scipy,minhlongdo/scipy,vberaudi/scipy,zaxliu/scipy,jamestwebber/scipy,pnedunuri/scipy,mdhaber/scipy,behzadnouri/scipy,andim/scipy,endolith/scipy,pbrod/scipy,jjhelmus/scipy,Srisai85/scipy,ales-erjavec/scipy,aarchiba/scipy,jor-/scipy,FRidh/scipy,njwilson23/scipy,WillieMaddox/scipy,rmcgibbo/scipy,haudren/scipy,piyush0609/scipy,lhilt/scipy,aeklant/scipy,petebachant/scipy,trankmichael/scipy,grlee77/scipy,piyush0609/scipy,lukauskas/scipy,jonycgn/scipy,Dapid/scipy,mhogg/scipy,jseabold/scipy,apbard/scipy,nmayorov/scipy,argriffing/scipy,ChanderG/scipy,surhudm/scipy,gfyoung/scipy,jjhelmus/scipy,Gillu13/scipy,jakevdp/scipy,maniteja123/scipy,tylerjereddy/scipy,kalvdans/scipy,ilayn/scipy,Eric89GXL/scipy,aman-iitj/scipy,aman-iitj/scipy,Shaswat27/scipy,mingwpy/scipy,futurulus/scipy,vberaudi/scipy,gertingold/scipy,perimosocordiae/scipy,mikebenfield/scipy,jonycgn/scipy,hainm/scipy,jseabold/scipy,ndchorley/scipy,mdhaber/scipy,jsilter/scipy,Dapid/scipy,gertingold/scipy,Stefan-Endres/scipy,Stefan-Endres/scipy,dch312/scipy,mortonjt/scipy,ndchorley/scipy,jor-/scipy,Eric89GXL/scipy,arokem/scipy,dominicelse/scipy,endolith/scipy,piyush0609/scipy,sargas/scipy,efiring/scipy,pyramania/scipy,gef756/scipy,newemailjdm/scipy,vanpact/scipy,nvoron23/scipy,person142/scipy,grlee77/scipy,Gillu13/scipy,Stefan-Endres/scipy,haudren/scipy,woodscn/scipy,nvoron23/scipy,maniteja123/scipy,witcxc/scipy,fernand/scipy,pizzathief/scipy,befelix/scipy,richardotis/scipy,vanpact/scipy,zaxliu/scipy,trankmichael/scipy,rgommers/scipy,kalvdans/scipy,befelix/scipy,zaxliu/scipy,pizzathief/scipy,jjhelmus/scipy,zerothi/scipy,aman-iitj/scipy,newemailjdm/scipy,WarrenWeckesser/scipy,arokem/scipy,andim/scipy,ales-erjavec/scipy,mgaitan/scipy,bkendzior/scipy,Shaswat27/scipy,kleskjr/scipy,ortylp/scipy,jsilter/scipy,lukauskas/scipy,e-q/scipy,perimosocordiae/scipy,Eric89GXL/scipy,Newman101/scipy,niknow/scipy,Newman101/scipy,scipy/scipy,surhudm/scipy,mdhaber/scipy,andim/scipy,vberaudi/scipy,person142/scipy,sauliusl/scipy,mortada/scipy,sonnyhu/scipy,ndchorley/scipy,apbard/scipy,sargas/scipy,sargas/scipy,surhudm/scipy,vhaasteren/scipy,ChanderG/scipy,futurulus/scipy,larsmans/scipy,jseabold/scipy,futurulus/scipy,piyush0609/scipy,mingwpy/scipy,chatcannon/scipy,njwilson23/scipy,WillieMaddox/scipy,fernand/scipy,josephcslater/scipy,perimosocordiae/scipy,sonnyhu/scipy,pschella/scipy,minhlongdo/scipy,woodscn/scipy,sauliusl/scipy,nvoron23/scipy,vanpact/scipy,newemailjdm/scipy,richardotis/scipy,hainm/scipy,anntzer/scipy,gertingold/scipy,Kamp9/scipy,sriki18/scipy,e-q/scipy,WillieMaddox/scipy,andim/scipy,fredrikw/scipy,felipebetancur/scipy,hainm/scipy,vigna/scipy,trankmichael/scipy,mgaitan/scipy,Eric89GXL/scipy,jor-/scipy,cpaulik/scipy,lukauskas/scipy,niknow/scipy,mdhaber/scipy,e-q/scipy,witcxc/scipy,nonhermitian/scipy,nmayorov/scipy,woodscn/scipy,anielsen001/scipy,gef756/scipy,haudren/scipy,ndchorley/scipy,mortada/scipy,anielsen001/scipy,ogrisel/scipy,mhogg/scipy,mtrbean/scipy,felipebetancur/scipy,mtrbean/scipy,trankmichael/scipy,raoulbq/scipy,gdooper/scipy,mtrbean/scipy,ogrisel/scipy,pbrod/scipy,vhaasteren/scipy,andyfaff/scipy,Srisai85/scipy,mikebenfield/scipy,anntzer/scipy,zxsted/scipy,surhudm/scipy,mtrbean/scipy,larsmans/scipy,matthewalbani/scipy,rgommers/scipy,njwilson23/scipy,kalvdans/scipy,richardotis/scipy,andyfaff/scipy,josephcslater/scipy,jseabold/scipy,hainm/scipy,WarrenWeckesser/scipy,gdooper/scipy,vanpact/scipy,mhogg/scipy,Dapid/scipy,jamestwebber/scipy,behzadnouri/scipy,grlee77/scipy,raoulbq/scipy,lhilt/scipy,behzadnouri/scipy,josephcslater/scipy,arokem/scipy,mortonjt/scipy,gertingold/scipy,zaxliu/scipy,mingwpy/scipy,mtrbean/scipy,Srisai85/scipy,befelix/scipy,scipy/scipy,jakevdp/scipy,Newman101/scipy,pnedunuri/scipy,zerothi/scipy,nmayorov/scipy,cpaulik/scipy,zaxliu/scipy,andyfaff/scipy,bkendzior/scipy,niknow/scipy,WillieMaddox/scipy,nmayorov/scipy,pbrod/scipy,petebachant/scipy,anntzer/scipy,person142/scipy,josephcslater/scipy,ogrisel/scipy,gdooper/scipy,vhaasteren/scipy,FRidh/scipy,WillieMaddox/scipy,Eric89GXL/scipy,mikebenfield/scipy,niknow/scipy,fredrikw/scipy,giorgiop/scipy,Shaswat27/scipy,jonycgn/scipy,zaxliu/scipy,scipy/scipy,gef756/scipy,ChanderG/scipy,jseabold/scipy,kalvdans/scipy,futurulus/scipy,ogrisel/scipy,maciejkula/scipy,vanpact/scipy,WarrenWeckesser/scipy,argriffing/scipy,andim/scipy,mortada/scipy,aman-iitj/scipy,pyramania/scipy,mortada/scipy,trankmichael/scipy,piyush0609/scipy,jjhelmus/scipy,sriki18/scipy,befelix/scipy,mhogg/scipy,kalvdans/scipy,andim/scipy,niknow/scipy,sriki18/scipy,matthew-brett/scipy,matthewalbani/scipy,pizzathief/scipy,ortylp/scipy,maciejkula/scipy,hainm/scipy,maniteja123/scipy,bkendzior/scipy,giorgiop/scipy,sargas/scipy,pbrod/scipy,matthewalbani/scipy,richardotis/scipy,lhilt/scipy,ilayn/scipy,Stefan-Endres/scipy,dch312/scipy,sauliusl/scipy,newemailjdm/scipy,dominicelse/scipy,njwilson23/scipy,nonhermitian/scipy,cpaulik/scipy,zxsted/scipy,jonycgn/scipy,gdooper/scipy,perimosocordiae/scipy,Kamp9/scipy,futurulus/scipy,aeklant/scipy,matthew-brett/scipy,felipebetancur/scipy,perimosocordiae/scipy,vigna/scipy,ChanderG/scipy,anntzer/scipy,FRidh/scipy,endolith/scipy,jonycgn/scipy,tylerjereddy/scipy,fernand/scipy,gfyoung/scipy,felipebetancur/scipy,mingwpy/scipy,pbrod/scipy,efiring/scipy,ortylp/scipy,dominicelse/scipy,jsilter/scipy,cpaulik/scipy,vberaudi/scipy,Kamp9/scipy,maciejkula/scipy,petebachant/scipy,zxsted/scipy,apbard/scipy,pyramania/scipy,person142/scipy,pschella/scipy,sauliusl/scipy,jor-/scipy,gef756/scipy,mortonjt/scipy,WarrenWeckesser/scipy,bkendzior/scipy,petebachant/scipy,bkendzior/scipy,mdhaber/scipy,minhlongdo/scipy,mikebenfield/scipy,josephcslater/scipy,newemailjdm/scipy,raoulbq/scipy,Stefan-Endres/scipy,Dapid/scipy,piyush0609/scipy,aarchiba/scipy,ortylp/scipy,futurulus/scipy,fernand/scipy,chatcannon/scipy,aman-iitj/scipy,newemailjdm/scipy,mortada/scipy,aeklant/scipy,lukauskas/scipy,chatcannon/scipy,Srisai85/scipy,nvoron23/scipy,andyfaff/scipy,Dapid/scipy,andyfaff/scipy,arokem/scipy,minhlongdo/scipy,efiring/scipy,juliantaylor/scipy,mingwpy/scipy,zxsted/scipy,woodscn/scipy,juliantaylor/scipy,mingwpy/scipy,jakevdp/scipy,aeklant/scipy,gfyoung/scipy,lukauskas/scipy,maniteja123/scipy,matthew-brett/scipy,chatcannon/scipy,sauliusl/scipy,aarchiba/scipy,kleskjr/scipy,njwilson23/scipy,Eric89GXL/scipy,anielsen001/scipy,sargas/scipy,rgommers/scipy,jakevdp/scipy,apbard/scipy,Shaswat27/scipy,e-q/scipy,jsilter/scipy,mortonjt/scipy,Srisai85/scipy,behzadnouri/scipy,ales-erjavec/scipy,lukauskas/scipy,pschella/scipy,zerothi/scipy,fernand/scipy,haudren/scipy,nonhermitian/scipy,FRidh/scipy,Gillu13/scipy,grlee77/scipy,anntzer/scipy,hainm/scipy,pnedunuri/scipy,vigna/scipy,scipy/scipy,apbard/scipy,gertingold/scipy,befelix/scipy,argriffing/scipy,maniteja123/scipy,person142/scipy,Kamp9/scipy,argriffing/scipy,larsmans/scipy,sriki18/scipy,efiring/scipy,Dapid/scipy,ilayn/scipy,pizzathief/scipy,sriki18/scipy,njwilson23/scipy,vberaudi/scipy,sonnyhu/scipy,dominicelse/scipy,ales-erjavec/scipy,rmcgibbo/scipy,ilayn/scipy,kleskjr/scipy,zxsted/scipy,e-q/scipy,mhogg/scipy,behzadnouri/scipy,pschella/scipy,larsmans/scipy,pschella/scipy,felipebetancur/scipy,sonnyhu/scipy,anielsen001/scipy,ChanderG/scipy,mgaitan/scipy,raoulbq/scipy,richardotis/scipy,scipy/scipy,arokem/scipy,anielsen001/scipy,mgaitan/scipy,fredrikw/scipy,aarchiba/scipy,zerothi/scipy,aarchiba/scipy,FRidh/scipy,larsmans/scipy,fredrikw/scipy,mortonjt/scipy,WillieMaddox/scipy,witcxc/scipy,jsilter/scipy,zerothi/scipy,rmcgibbo/scipy,rmcgibbo/scipy,tylerjereddy/scipy,giorgiop/scipy,ogrisel/scipy,andyfaff/scipy,gfyoung/scipy,perimosocordiae/scipy,sriki18/scipy,jamestwebber/scipy,mdhaber/scipy,nmayorov/scipy,jjhelmus/scipy,lhilt/scipy,fredrikw/scipy,minhlongdo/scipy,nonhermitian/scipy,mhogg/scipy,Shaswat27/scipy,vhaasteren/scipy,sonnyhu/scipy,Gillu13/scipy,chatcannon/scipy,jor-/scipy,vhaasteren/scipy,ilayn/scipy,efiring/scipy,mortonjt/scipy,raoulbq/scipy,matthewalbani/scipy,maniteja123/scipy,woodscn/scipy,pyramania/scipy,juliantaylor/scipy,ndchorley/scipy,gef756/scipy,anntzer/scipy,sonnyhu/scipy,zxsted/scipy,gdooper/scipy,WarrenWeckesser/scipy,trankmichael/scipy,witcxc/scipy,witcxc/scipy,argriffing/scipy,petebachant/scipy,kleskjr/scipy,mtrbean/scipy,zerothi/scipy,Kamp9/scipy,endolith/scipy,juliantaylor/scipy,Stefan-Endres/scipy,ortylp/scipy,mgaitan/scipy,Gillu13/scipy,felipebetancur/scipy,haudren/scipy,vhaasteren/scipy,efiring/scipy,FRidh/scipy,woodscn/scipy,vigna/scipy,surhudm/scipy,tylerjereddy/scipy,rgommers/scipy,vanpact/scipy,maciejkula/scipy,Srisai85/scipy,vigna/scipy,fredrikw/scipy,chatcannon/scipy,kleskjr/scipy,pnedunuri/scipy,rmcgibbo/scipy,niknow/scipy,rmcgibbo/scipy,dch312/scipy,scipy/scipy,matthew-brett/scipy,mortada/scipy,dominicelse/scipy,haudren/scipy,grlee77/scipy,ales-erjavec/scipy,cpaulik/scipy,pnedunuri/scipy,Gillu13/scipy,WarrenWeckesser/scipy,gfyoung/scipy,lhilt/scipy,ales-erjavec/scipy,aeklant/scipy,kleskjr/scipy,dch312/scipy,argriffing/scipy,maciejkula/scipy,tylerjereddy/scipy,anielsen001/scipy,raoulbq/scipy,matthew-brett/scipy,minhlongdo/scipy,dch312/scipy,pnedunuri/scipy,jakevdp/scipy,giorgiop/scipy,Newman101/scipy,Shaswat27/scipy,ndchorley/scipy,giorgiop/scipy,gef756/scipy,fernand/scipy,vberaudi/scipy,Kamp9/scipy,rgommers/scipy,ChanderG/scipy,mikebenfield/scipy,behzadnouri/scipy,ilayn/scipy,nvoron23/scipy,jamestwebber/scipy,endolith/scipy,ortylp/scipy,pizzathief/scipy,mgaitan/scipy,larsmans/scipy,juliantaylor/scipy,petebachant/scipy,nvoron23/scipy,giorgiop/scipy,Newman101/scipy,jamestwebber/scipy,nonhermitian/scipy,richardotis/scipy,jonycgn/scipy,matthewalbani/scipy,surhudm/scipy,jseabold/scipy,cpaulik/scipy,sauliusl/scipy,pyramania/scipy,endolith/scipy,aman-iitj/scipy