Pegasystems Shares Advance Amid Legal Resolution and Strong Financial Performance