Flattening an Array of Option in Effect-ts - Effect Community