Select output reference tensor correctly for pointwise scheduler (#1500)
* Pointwise scheduler heuristics requires a minimum number of axes.
* The output reference tensor should respect this requirement.
* Only use valid reference tensors during pointwise heuristics analysis