Registration Rights Agreement Dated As of July 21, 2017 between Pernix Therapeutics Holdings, Inc.,