Oaks-based SEI Investments has agreed to sell a division of the company to a New York firm, affecting roughly 150 employees.