Another fix in pruning.

In tree-mode ASP at the tree decomposition root, subtrees rooted at item tree nodes with UNDEFINED type are now removed before doing the propagation of acceptance statuses and potential pruning of rejecting subtrees. Furthermore, UNDEFINED nodes always evaluate to UNDEFINED, and their descendants are never pruned.