In a new court filing, the bank revealed why it shut down hundreds of Trump-tied accounts in mid-2021.