India’s inflation accelerated in August, moving closer to the top of the central bank’s 2%-6% target range and potentially narrowing the scope for policymakers to remain on hold for long.