BUG: sparse/lil: use isscalarlike instead

Also remove an indexing warning --- currently all code paths have this
efficiency issue...