AMENDED AND RESTATED CREDIT AGREEMENT dated as of October 15, 1998