How a once-promising merit pay system led Denver teachers to the brink of a strike