China offers to help reduce Indo-Pak tensions after criticizing India