RIGHTS AGREEMENT dated as of June 27, 2017 by and between Fred’s, Inc., as the Company and American Stock Transfer & Trust Company, LLC, as Rights Agent