Tesla violated federal law by laying off workers without warning, lawsuit says