A rescue ship carrying 629 migrants from operations off Libya's coast is awaiting permission to dock somewhere in Europe.