Pakistan friend or a foe, asks US Congress panel