Millions of dollars have flowed into state legislators’ campaigns in recent years from both sides of the contentious construction defects debate, even as opposing camps managed to reach a key compromise last week on what has proved to be an intractable issue. Construction defects reform has pitted condominium developers and other business interests against trial lawyers, who benefit from suing developers over defects in their buildings.