Void structure stability in wet granular matter and its application to crab burrows and cometary pits