MASTER MARGIN LOAN AGREEMENT dated as of May 18, 2017 between HIGHLAND SMALL- CAP EQUITY FUND, a series of Highland Funds II, as Borrower and THE BANK OF NEW YORK MELLON as Bank