Farmer-owned UK agri-businesses ANM is to close two meat processing unit in Scotland with the loss of around 50 jobs.