Vortex-induced damping of fluid oscillations in a rectangular vessel