The state’s chaotic resolution of a yearslong battle is the latest compromise effort to satisfy workers, employers and ...