Accept single value in extract_offset

In the 1D extruded case, the facet_map only contains a single value, so
we must convert to an iterable first.
Fix bc application for extruded cohomology test

It is not possible to pass a list of subdomains to the DirichletBC
constructor, so build a list of bcs instead.
Fixup lint warnings