Add support for VarLengthExpand in pattern predicates

o fix a dependencies problem for IterablePredicateExpression