Hertz's CEO resigned after a big bet on EVs went bad