The Treasury Department was accused of breaking federal law by giving Elon Musk’s team of government efficiency enforcers access to a trove of personal and financial information — setting up a legal showdown over the Trump administration’s signature effort to shrink the government.