Fix np.nonzero type inference result