AMENDED AND RESTATED CLASS B UNIT PURCHASE AGREEMENT