Deduplicate and move *MatchesEveryone functions to core_xline