The eight Indian nationals were imprisoned in Qatar since October 2022 and were accused of allegedly spying on a submarine programme