Former national security adviser Michael Flynn's offer to testify in return for immunity from prosecution hovered over the investigations into Russia's communications with top aides to President Donald Trump.