Yemeni troops attack al-Qaida militants; 26 die in battle