[server][DBAgent] Use a singular.

IndexesDef ->
IndexDef

The structure has information about one index. So the previous
name is not natural.