Court revokes CS Macharia's agency appointments over ethnicity