Damped three-junction interferometers for latching logic