Dealing a significant hit to President Barack Obama’s effort to grant work permits and de facto legal status to millions of illegal immigrants, the Supreme Court on Thursday effectively blocked the administration’s executive amnesty programs from moving forward.