Law protecting interests of South African communities in mining deals falls short