General Mills, the US food group, is to exit Venezuela after striking a deal to sell its business in the country to private investment firm Lengfeld Inc.