Fix bug in Slice.compareTo(int, int, Slice, int, int)