Add a new MergeFunctions pass. It finds identical functions and merges them.