India bought a record amount of Treasuries in July, helped by large inflows under the central bank’s special facilities to draw overseas capital.