Three policemen killed, six civilians hurt in KP