Erosion of icy coastlines in the face of changing sea ice