[IMP-dev] Fix behavior of DistanceRestraint at near-zero distance