Rebels capture last IS stronghold near Turkey