Despite being disillusioned with their ally in government, the SACP and the labour federation are unlikely to leave the tripartite alliance