Indian Army foils attack in J&K