GM halts deliveries of certain 2012-13 vehicles to fix software glitch