Update signature of arguments to defined()

The function passed to `defined()` can take the index.

Used here: https://github.com/palantir/plottable/pull/1124