Treaty banning nuclear weapons moves closer to becoming international law