Cutting-out portions from the sides of webs or sheets