Helicity conservation under quantum reconnection of vortex rings