Allow per-node definition of predicates
Refactor calculate-your-maternity-pay flows to use next_node_if
Refactor remaining flows to use next_node_if