FIRST AMENDMENT TO AMENDED AND RESTATED CREDIT AGREEMENT AND RESIGNATION AND APPOINTMENT AGREEMENT