EXHIBIT 10.4 AMENDED AND RESTATED CREDIT AGREEMENT dated as of December 20, 2005