use jit() instead of autojit() to fix inplace operations (because in that case,
calling the function once with [:1] modifies the result)
(re)fix calling NumExpr() without signature
use kind_to_type to compute result type
remove workaround for numba bool bugs since numba 0.9 fixed them