FIX bestfirst decoder should also use np.intp

StructuredPerceptron raises an exception when np.int32 is used.
TST harden perceptron tests