A model of imperfect interface with damage