The UK's competition watchdog has given the green light to PepsiCo's acquisition of a local snacks business.