Legality of Autonomous Weapons: Where to Draw the Line?