After $8.7 billion in EV-related charges, GM hit pause on the Indiana battery plant it once called a cornerstone of its EV plan