Neaten predicates in graph mapper.

Predicates passed to `get_matching_partitioned_` functions now expect
1 argument, the partitioned object.