Jumping the Gap: The Formation Conditions and Mass Function of 'Pebble-Pile' Planetesimals