Revert "Statically allocated empty and scalar sparsity patterns"

This reverts commit 8fbdb0358cab59ce5b6db420e1740f0b11c1e3ac.