If you lerp using transforms instead of eulers or quaternions, then any delayed rotation should behave correctly. GDscript has a number of functions to help you work with them.
The reason why the "long way" is taken at times is because of how the values are calculated. At some point the values will go from positive to negative, they won't go up or down indefinitely.