belower: fix bad placement of obstack_free, further cleanups

This should fix the 186.crafty problem.