fixed best-move sometimes returning position arrays

arrays of arrays were not handled outputs… had to simplify the result
with (first [[]])