Battling Roses see off South Africa to seal second place