Militants launched a brazen overnight raid on an army post near the Afghan border, two intelligence officials said, killing 16 soldiers and critically wounding five more.