Border guards in Libya have rescued a group of migrants who said they were left in the remote desert area by authorities in neighbouring Tunisia.