US president says Daesh is on the defensive