Last week’s lawsuits accuse the insurers of deploying flawed cost-estimation software that left homeowners with insufficient coverage, prompting regulators to prepare reforms to curb underinsurance.