The announcement triggered a flood of responses on social media, with many calling it the end of the American dream for thousands of foreign workers — particularly Indian tech professionals, who make up the majority of H-1B holders.