Yemeni president says country is in ‘open war’ with al-Qaida