Fix exterior facet dimension computation for 2D and 3D extruded meshes.