Indirect Optimization of Asteroid Deflection Missions with Electric Propulsion