BUG: fix shuffling of flexible dtypes

closes gh-4270
also regenerate with cython 0.20.1