Takes a mesh and one of more pairs of patches and merges the faces on each pair of patches (if geometrically possible) so the faces become internal. - Base on the original stitchMesh from OpenFOAM 2.2.x.