PrescribedGradientBCWeak: Improved construction of traction mesh for
non-periodic meshes.