Why was the apartheid law passed in South Africa?