CVS's Karen Lynch lost her job in a surprise ouster last week, but her impact on rising female executives will endure.