Merrill also said it agreed to help bail out bond insurer Security Capital Assurance Ltd by agreeing to accept a $ 500 million cash payment in exchange for canceling some credit default swaps and ending related litigation .