Dashed line around Legendaries

This may be a dumb question, but what does a broken line box around legendary items in BiB mean. Does it have something to do with alternative leggo pairs and how does one remove it?

It means those items are locked in and won’t be changed by the optimizer. Press “unlock all” just above the BiB gear table to remove it.