Mirror Descent Maximizes Generalized Margin and Can Be Implemented Efficiently