Meta, which had grown its legal department at a torrid rate in recent years, cut it back on Wednesday, as part of 11,000 job cuts aimed at resizing the company in response to slowing growth.