Al-Qaida on the path to defeat: Obama