Compute the dominance frontier of a set of nodes.