MASTER LOAN SALE AGREEMENT among MIDCAP FINANCIAL INVESTMENT CORPORATION, as the Transferor, MFIC BETHESDA CLO 1 DEPOSITOR LLC, as the U.S. Retention Holder, and MFIC BETHESDA CLO 1 LLC, as the Issuer Dated as of November 2, 2023