Court raises bar for some immigrants to avoid deportation