The Kerr medium as an SU(2) system: exact solution for spin damping