CVS Health’s adjusted fourth-quarter profit handily beat Wall Street’s estimates, even as the drugstore chain and pharmacy benefits manager dealt with rising costs in its insurance division.