Health insurance giant Anthem Inc. moved to sever ties with pharmacy-benefits manager Express Scripts Holding Co. on Wednesday, opting instead to build its own such business in collaboration with CVS Health Corp. as it looks to contain its spiraling drug costs.