Subset Minimization in Dynamic Programming on Tree Decompositions