check_tx: return correct input error.

Fixes #35; we handle doublespend errors by figuring out which block
to complain on.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>