UN set to adopt historic arms treaty