Central role of domain wall depinning for perpendicular magnetization switching driven by spin torque from the spin Hall effect