A new purchasing alliance formed in Mexico to help retailers compete with Wal-Mart has been given the go-ahead by competition authorities.