Mumbai rode on Shardul Thakur's heroic six-wicket haul to secure a crucial first innings lead against Haryana in Kolkata.