Control of Hysteresis in the Landau-Lifshitz Equation