With UN envoy in Damascus, IS takes Syrian town from rebels