If, prior to settlement, the lender relieves the borrower of a contractual responsibility, then (for Reg. Z purposes) it's just like it was never there. Your state law is the basis for determining whether "another agreement between the parties legally modifies the note or contract." Consult with bank counsel to determine if the bank's agreement to pay closing costs rises to the level of a contractual amendment.
_________________________
...gone fishing.