Effect of flexible vegetation on localized erosion processes