Ravichandran Ashwin took a six wicket haul as India set up a winnable run chase against the West Indies.