US military shifts Afghan policy