UN moves forward on compacts to manage migration, refugees