Pak police predicted deadly attack on headquarters