The US-led fight against the Islamic State group will take time, but the militants will ultimately be defeated, US President Barack Obama was to say in his address to the nation on Tuesday.