AMENDMENT NO. 3 TO AMENDED AND RESTATED CREDIT AGREEMENT