Refactor: libpe_rules,libcrmcommon: move type-based comparison to libcrmcommon
Move to compare_attr_expr_vals() from libpe_rules to libcrmcommon. No code changes other than renaming it to pcmk__cmp_by_type().