People in Indian media and social media had predicted an attack like Pulwama prior to the elections: DG ISPR