US instructs Pakistan to delegitimise all terrorist groups