Implement `unionWith' in terms of Map's lookup.
Fix another const& function signature.
Implement q2.k3's merge_results in C++.