Convert ce_path_match() to use struct pathspec