FIRST AMENDED AND RESTATED CREDIT AGREEMENT dated as of June 28, 2007