fixed return bug from kmeans_split_subset()

fixed the allowed exceptions to return a 1 rather than refer to a
undefined variable.