Frictional collapse of granular assemblies