GM will kill medium-duty truck unit after failing to find buyer