An investment group led by private equity fund Hellman & Friedman has agreed to purchase cloud-based HR developer Ultimate Software for a cash transaction of $331.50 per share