A scale-invariant model for snow slab avalanches