Ramaphosa offers South African miners light at end of tunnel