AGREEMENT AND PLAN OF MERGER among MIDCAP FINANCIAL INVESTMENT CORPORATION, AIF MERGER SUB, INC., APOLLO TACTICAL INCOME FUND INC. and APOLLO INVESTMENT MANAGEMENT, L.P. (for the limited purposes set forth herein) Dated as of November 7, 2023