EIGHTH AMENDMENT TO RESTATED CREDIT AND SECURITY AGREEMENT