Demoulas Super Markets Inc. has also agreed to change the way it manages its retirement plan, according to a proposed settlement.