Tech Mahindra sells stake in US firm to Rakuten for $45 mn, signs new deal