Removes unused layers, assigns the GND layer to the bottom-side group