Repeated erosion of cohesive sediments with biofilms