Kargil war veteran declared ‘foreigner’, detained in Assam