"if a matter has been diverted by a prosecutor in terms of chapter at a preliminary inquiry in terms of chapter or by a child justice court in terms of chapter and the diversion order has been successfully complied with a prosecution on the same facts may not be instituted"