From the '95 rule book, Rule 6-32 c and especially 6-32 d appear on first
reading to cover this situation.
6-32 c. If, however, the puck is intercepted cleanly by a member of the
defending team and is carried or passed by the player's team into the
neutral zone, the offside shall be ignored and play permitted to continue, even if
a member of the attacking team has preceded the puck into the attacking zone.
(Officials will carry out this rule by means of the slow whistle.)
6-32 d If a player legally carries or passes the puck back into his own
defending zone while a player of the opposing team is in that defending zone,
the offside shall be ignored and play permitted to continue. (No slow
whistle.)
I read this to say that the Team A player was correct, he was not offside.