As tensions have erupted at college campuses throughout the country after Hamas’s attack on Israel, some Republican presidential candidates have called to revoke student visas and deport foreign nationals who express support for Palestinians or criticize Israel’s military response.