AMENDED AND RESTATED ASSET PURCHASE AGREEMENT Dated as of August 25, 2016 By and Among Green Plains Inc. as Purchaser, and Abengoa Bioenergy Company, LLC as Seller