International talks on rules for AI-based weapons hit snags