Is measuring merit all that hard? It's done successfully higher ed. The bottom line is that we shouldn't worry so much about the concept of merit b/c we don't need a one-size-fits-all system. For example, some people prefer to go to a large public university where profs are "meritorious" if they publish and are at the cutting edge of research -- while others prefer to go to smaller schools with more of a focus on teaching and small class sizes.
Chances are with widespread voucher availability, K-12 education would become less cookie-cutter and would better address the diverse definitions of merit that exist.
Of course, states/cities could require certain curriculum, teacher SAT scores, etc., but such things would represent a floor rather than a ceiling on what "merit" is.
I would let the learners have power to shop, and we will know soon enough which teachers are doing a good job.