Much attention has been paid to the young Silicon Valley engineers working for Musk’s Department of Government Efficiency, but the group has also hired high-powered legal talent.