It took a pandemic for India’s tech industry to grasp the benefits of working from home