J&K police arrests three terrorists