L&T offers to buy 31% shares of Mindtree