JD(S) seals poll pact with Congress, gets 8 Karnataka seats