Millions of people participated in a nationwide referendum to determine whether crude oil should remain in the ground indefinitely at a site inside Yasuní National Park in Ecuador’s eastern Amazon.