Dynamics of retreating slabs: 1. Insights from two-dimensional numerical experiments