The general counsel of EV startup Canoo has resigned and been replaced by his deputy, the struggling company disclosed in a regulatory filing this week.