Tesla loses a high-ranking lawyer just as SEC tightens grip