Boston officials have shut a Dorchester bar where seven people were stabbed during a fight.