Facebook and LinkedIn want to boost dwindling numbers of women studying engineering and computer science with a collaborative initiative announced Friday that they hope will eventually fill thousands of lucrative Silicon Valley jobs long dominated by men.