Barotropic instabilities of the Agulhas Current system and their relation to ring formation