The Supreme Court dealt a painful blow to immigrants on Thursday in a pair of 6–3 decisions.