How smaller rivals beat Wipro and Infosys and turned India’s IT sector upside down