Deduplicate and move the *MatchesEveryone() functions to core_xline