AMENDMENT NO. 8 TO AMENDED AND RESTATED LOAN AND SECURITY AGREEMENT