New library function slices_remove_small_slices

This complements slices_remove_small_gaps and may be used to thin out
small slices when computing flight phases.