(A) In general The provisions of paragraphs (1) and (2) do not apply to a nondisparagement clause or nondisclosure clause contained in a settlement agreement or separation agreement that resolves legal claims or disputes if— (i) such legal claims accrued or such disputes arose before the settlement agreement or separation agreement was executed