[polyml] Pretty-printer seems to loop