UNIT PURCHASE AGREEMENT BY AND AMONG LEGACY RESERVES LP, LEGACY RESERVES GP, LLC AND THE PURCHASERS