Despite staunch Democratic opposition that fueled three days of contentious debate, the Iowa Legislature on Thursday gave final approval to a bill that will dramatically scale back a four-decades-old collective bargaining law that governs union contract negotiations for the state’s public workers.