Functions for splitting lists
#3splitPlaces ignores trailing 0-length lists
I've found that splitPlaces does not take into account 0 length splits at the end of a list which tends to cause issues when zipping together nested lists. For example:
λ map length [[1],[],[2,3],[],[]][1,0,2,0,0]
λ splitPlaces [1,0,2,0] [1,2,3] [[1],[],[2,3]] -- There is no trailing empty lists here