FIRST AMENDED AND RESTATED HSBC REFUND ANTICIPATION LOAN AND IMA PARTICIPATION AGREEMENT