Port DistanceInformationRegistrar into move semantics
We shouldn't rely on non-guaranteed behavior of the compiler about RVO optimization. Let's just use move-semantics instead.