AMENDED & RESTATED SECURITIES PURCHASE AGREEMENT dated as of June 15, 2017 by and among Lonestar Resources US Inc., and The Investors Listed on Schedule 1