AMENDED AND RESTATED INTERCREDITOR AGREEMENT by and among PLAINS CAPITAL BANK, as Revolving Lender, ARES CAPITAL CORPORATION, as Term Agent, and THE LOAN PARTIES PARTY HERETO Effective as of November 9, 2017