remove_runs function

Remove consecutive exceedances from a vector