CVS CEO David Joyner pointed to strength in its retail pharmacy and improvement in its insurance unit, Aetna, which is grappling with higher medical costs.