They were 166 for 8 trailing Rest of India's 237 but then came the rearguard