Equity indices edge higher\, Tech Mahindra gains by 4.7 pct