The bank becomes the latest lender to distance itself from a sector associated with the Trump administration’s policies.