AMENDED AND RESTATED AGREEMENT OF SETTLEMENT