Slip lines at the end of a cut at the interface of different media