Fix distort_random for distributed meshes

Previously, distort_random produced unconnected meshes for distributed meshes. Now we don't move vertices that belong to two or more different processes. The resulting mesh is connected.
Although in that case it would be better to use a format that isn't compressed, such as VTK, making it simpler to compare output if something changed.