Tech giants back legal challenge to Trump’s foreign worker restrictions