A legal battle over South Africa’s Legal Sector Code has reignited debate over transformation, ownership targets and procurement rules in the legal profession