Fixes #805: Jacobian of Solve has incorrect sparsity