Walmart Stores Inc.s move to eliminate health insurance for about 30,000 part-time workers underscores the mixed benefits of Obamacare for companies and their employees.