The 6-vertex model of hydrogen-bonded crystals with bond defects