reenabled bool in numpy ufunc support; dict-based codegen for ufuncs