Unregisters the given barrier if it's currently registered.
The Barrier to remove from the list of barriers.