Walmart investors eye margins amid grocery focus