Mahindra Renewables to sell stakes in 3 arms for nearly ₹340 cr