Fix handling of ghost elements in subdomain local assemblers.
Handle ghost elements in the subdomain local assemblers in the same way as they are treated in the single-domain case.
Cherry-picked 6b0b60d1.
A test will be provided with !1950 (closed).
Backport to 3.3.
Edited by Timo Koch