fixed a bug in TreeGrammarDecomposition, leading to an unsatisfiable MinCostSAT formula

git-svn-id: http://gapt.googlecode.com/svn/trunk/source@2090 85d21ef8-add0-11de-ae77-5bfb9c5a3f34