Obama knows he would lose at the Supreme Court. It would be close, probably a 5-4 decision, but he would still lose.
The reason he tried executive amnesty in the first place is because he did not think there would be a lot of backlash, or he could handle it. What he did not realize is that the majority of America is against this, and now he is retreating on the position.