SP-BSP pact spells trouble for BJP