GM to cut 21,000 US factory jobs, shed Pontiac