Controlling Type Confounding in Ad Hoc Teamwork with Instance-wise Teammate Feedback Rectification