DBJPM 2017-C6 Mortgage Trust Commercial Mortgage Pass-Through Certificates, Series 2017-C6 UNDERWRITING AGREEMENT