Fix Dataset.argmin

Fixes #205.

Includes a failing test (currently skipped) for #209.