Tech companies are axing full-time roles. They're hiring some back as contractors.