Investors are offloading software loans in debt vehicles at a discount, in the latest sign of pain in the software industry, which is being upended by AI.