Flavor symmetry restoration and Symanzik improvement for staggered quarks