In a surprising about-face, the Universities of Wisconsin regents approved a deal Wednesday evening with Republican legislators to limit diversity positions at the system’s two dozen campuses in exchange for money to cover staff raises and construction projects.