AMENDED AND RESTATED CREDIT AGREEMENT DATED AS OF APRIL 22, 2004