The Supreme Court sharply limited the First Amendment rights of illegal immigrants yesterday, ruling that people here unlawfully cannot shield themselves from deportation by claiming the government is trying to banish them simply because of their controversial political views.