Insurance — Homeowners — Declaratory judgment — Trial court erred in dismissing insurer’s complaint seeking declaration of rights and remedies under election to repair provision of policy and breach of contract claim that policy terms were anticipatorily repudiated by insureds, excusing further performance by insurer and allowing insurer to recover as damages its reasonable costs incurred in prosecuting lawsuit