Tech Mahindra to absorb two subsidiaries to cut costs