I've never flown on a circle fare, but my understanding of the routing restriction is that you cannot continue after reaching your city of origin. So your routing is 100% legal as it does not continue beyond ORD. The rules prohibit LAX-ORD-BOS but allows LAX-BOS.