South Africa partially bans display of 'apartheid flag'