Congress is weighing America's role after Mosul amid looming budget cuts and paralyzing partisanship.