Doctors have found the cause behind the "mystery illness" that has claimed at least 17 lives in Jammu and Kashmir's Rajouri.