NINTH AMENDMENT TO CREDIT FACILITIES AGREEMENT