The yearslong effort to rein in the use of autonomous weapons systems has struggled to produce limits