Spain-based investment firm JB Capital has led a consortium to buy a majority stake in local group Palacios Alimentacion.