Shares of public sector companies—mainly banks—were the stars on Dalal Street after a hiatus, while IT stocks—last year’s outperformers—were laggards.