Two towns on the Arizona-Utah border have transformed since courts wrested control of them from a polygamous sect.