Kenyan president: Terrorists defeated