Verizon can recoup $24 million in defense costs from its insurers, Superior Court Judge Eric M. Davis has ruled in a decision that could find application nationwide and make it more difficult to reject coverage in cases over corporate transactions.