pub fn dedupe_targets(matches: Vec<&Element>) -> Vec<&Element>
Reduce matches that are the same tap target (same label, frames nested or equal) to one. Anything left over is a real ambiguity.