Amid Raqqa, Mosul fights, US prepares for IS endgame effort