REGISTRATION RIGHTS AGREEMENT by and among ESSENTIAL PROPERTIES REALTY TRUST, INC. and the other parties hereto Dated as of June 25, 2018