Canadian retailer Sobeys is to consolidate its operations in Quebec with the possible loss of jobs.