Use std::span
for Form domain indices
#2621
Merged
std::span
for Form domain indices
#2621