Chiral restoration, flavor symmetry and the axial anomaly at finite temperature in an effective theory