Pakistani premier vows to try Indian 'spy' under law