NEW DELHINEW DELHI — The Indian government on Thursday vowed to explore “all legal options” after a Qatari court handed death sentences to eight Indian employees of a Qatari company on spying charges.