A Brazilian judge ordered late on Friday the release from prison of four players from River Plate's women’s soccer team who had been arrested for an alleged racial slur during a match.