turn CPESet2_3.compare_wfns into a generator

This way some comparisons can be short-circuited for faster matches...