President Cyril Ramaphosa has approved salary increases of up to 4% for politicians, traditional leaders, and judges, drawing sharp criticism from trade union federation Cosatu.