Optum, the for-profit health provider arm of UnitedHealth Group, has signed an agreement to acquire Atrius Health, the state’s largest independent doctor group, potentially altering the health care landscape for years to come.