Libya has sent over 200 migrants from neighbouring countries back to their homelands, in a rare display of cooperation from the country's divided institutions.