Google's not obligated to figure out exactly where the line of legality is. Especially when they've already lost two candidates. They're not in the business of protecting the Damores of the world (nor should they be).
The title VII argument may hold no water for you. If you find a way into the NLRB board of judges, that may matter to companies.