AMENDED AND RESTATED SUBORDINATED CREDIT AGREEMENT