AMENDMENT NO. 8 TO AMENDED AND RESTATED CREDIT AGREEMENT