EXHIBIT 4(a)(i) AMENDED AND RESTATED CREDIT AGREEMENT