The New York attorney general , Eliot Spitzer , said yesterday that his office was dropping all criminal charges against Paul A. Flynn , a former Canadian Imperial Bank of Commerce trader who was accused of aiding illegal trading in mutual funds .