Autonomous weapons and stability