Handwara gunfight, longest in recent years, ends