GM’s Cruise hardware chief resigns in latest exit after operations suspended