AMENDED AND RESTATED THREE-PARTY TRANSMISSION AGREEMENT