Processes and repercussions of slab detachment