Nifty trades above 24,350; FPIs pump in ₹30,919 cr in August