The move is part of GM’s larger strategy to trim off unprofitable businesses and focus only its most profitable markets.