Collaborative AI Teaming in Unknown Environments via Active Goal Deduction