Dorsey will continue to head Square, the financial payments service. He has been criticized for leading both companies at once.