Remove unused local typename
Include stdlib for free()
Add Empty::clean()

Was a compile error in Xcode/clang.
Replace resize with reserve

With resize(), we get N 0s followed by the N data values. After
shuffle(), approximately half of the copied values are 0.