In a legal fight involving two health insurance companies seeking to manage North Carolina's public employee benefits plan, a judge ruled Monday that the plan’s board acted properly when it switched to Aetna and dropped longtime administrator BCBS of North Carolina.