A group of 299 migrants in Panama is under police guard in a hotel, awaiting relocation to third countries.