Ravichandran Ashwin scored a brilliant century, anchoring India’s innings after a poor start. His knock helped India recover and post a competitive total.