Enum.sample/1, 2 should raise if the collection size is smaller than the sample size

This fixes the Enum.sample/1 issue discussed in the issue #2916.

And addresses @lexmag's comment in the closed PR #2917.