South Africa's textile workers union has welcomed a new agreement by the country's government that sets a minimum wage for workers and imposes penalties for non-compliance.