Restructuring Vector Quantization with the Rotation Trick