What's the difference between a search-and-rescue bot and a kill bot? The function is going to pretty much identical right up to the point the target is located, just duct tape a gun to point in same direction as the camera and wire the "person located" signal to pull the trigger. It's one thing to ban ABC weapons because they're very specific technologies, but this is way too generic to work. And it's not like the military is going to avoid developing it for intelligence gathering and decision support systems, even if you keep a human in the loop it's literally going to be one flip of the switch to full automatic where the computer's recommendations are implemented by itself.
The primary reason to keep soldiers in the loop today is because you're trying to fight a "good war" and avoid antagonizing the civilians so you want manual confirmation of each target, if you take the gloves off and say if you're found outside after curfew we'll shoot to kill and live with the collateral you could automate much more. And don't get up on the high horse, when the US nuked Hiroshima and Nagasaki they knew there's be about 100-200k civilian casualties. In a real war nobody's going to give a fuck if the robots are just 99% or 95% right, if it can save our troops and civilians and end the war for sure we're going to let them fight for us.