"[T]he driving principle in the Ramsay line of cases continues to involve a general rule of statutory construction and an unblinkered approach to the analysis of the facts. The ultimate question is whether the relevant statutory provisions, construed purposively, were intended to apply to the transaction, viewed realistically."