Anthem Inc. has agreed to acquire rival Cigna Corp. for $54 billion, creating the health insurance industry’s biggest company by enrollment. The agreement announced Friday caps weeks of frenzied deal making in the healthcare sector.