FPIs reverse 4-month selling trend with Rs 15,157 cr inflow in Jul