Fix regression in move_to_san()