Shira Perlmutter’s termination came shortly after the Copyright Office published a long-anticipated report on artificial intelligence.