Apollo in talks to sell its $3 billion MidCap credit fund