Nearly 600,000 GM truck owners discovered their engines could fail without warning, despite the company’s awareness of defects since late 2021.