Text this: On the role of entanglement in qudit-based circuit compression