See this discussion for the details: https://www.klayout.de/forum/comments.php?DiscussionID=1045&page=1#Item_0
The bug seems to be an issue with the polygon cut algorithm that prepares smaller polygons for GDS2 output where the maximum number of polygon points is limited.