IS control in Raqqa is coming to an end, according to a monitor, as the last Syrian militants prepare to leave the group's self-declared 'capital'.