AMENDED AND RESTATED AGREEMENT AND PLAN OF MERGER by and between MEDLEY CAPITAL CORPORATION and SIERRA INCOME CORPORATION DATED AS OF JULY 29, 2019