As with all Obama decisions, this is a political decision and not a military or national security decision. Bringing home some troops is his way to pander to the liberal progressive anti-war far-left crowd that are furious at him for breaking campaign promises.
source: http://www.foxnews.com/politics/2011/06/21/obama-puts-finishing-touches-on-afghanistan-withdrawal-plan/