Why were women given noncombat jobs in the military?