If there's bus lanes the bunching happens much more slowly. You fix it by giving slightly more time than needed to the busses for their routes on the schedule, say, 20 seconds per stop. That way if they lost some time on some stops, they fetch it back later. With the inconvenience that all the routes take longer