fixes issues with divide ufunc

as a bonus, a functional true_divide ufunc in nopython mode.