Mexican authorities rescued 31 migrants from Ecuador, Colombia, Venezuela, Honduras and Mexico after armed gunmen kidnapped them near the Texas border.