Mathematical modelling of nonlinear waves in layered waveguides with delamination