fix empty composed tolerances due to exhausted iterator
Adding two composed tolerances actually led to an empty composed tolerance. I added a "failing" unittest and fixed it.
In May we will update GitLab to the next major version 18.0. Deprecations will mainly affect the Api, CI/CD job tokens and GitLab Runners. Please check if your project(s) may be affected, and take the appropriate measures. Find detailed information on this here: https://docs.gitlab.com/update/deprecations/?removal_milestone=18.0
Adding two composed tolerances actually led to an empty composed tolerance. I added a "failing" unittest and fixed it.