st/mesa: simplify determination whether a draw needs min/max index