UNDERWRITING AGREEMENT JUNE 9, 2017 CANADIAN IMPERIAL BANK OF COMMERCE DEBT SECURITIES