Tech Mahindra registers strong Q3