The proposed takeover of Pioneer Foods by US food and beverage giant PepsiCo has been ruled on by the competition watchdog in the South African company's home market.