Yemen’s military say clashes with rebels near end