Simple solution.
Walmart lays off 5001 employees, which will give them 9,999, and moves some of their operations over the border into neighboring states.
I think rather than laying off people, Walmart will outsource a lot of their jobs to contractors. Tires and oil changes to Jiffy Lube, electronics to Best Buy, Circuit City or Radio Shack, etc.
They already outsource their janitorial services, why not the cashiers and stock clerks.