Walmart to consolidate department managers in some stores