The bank said that its litigation costs had declined significantly in the first quarter, but that market conditions had cut into its profits.