The anti-apartheid sociologist and militant who denounced the repressive apparatus of Pretoria regime