Investment Firm Nears Deal to Buy Around 4,500 Taxi-Medallion Loans