Weak-lensing characterization of the dark matter in 29 merging clusters that exhibit radio relics