Store S.true/false in Interval.left_open/right_open

fixes #6211