After eight years at flexible workspace provider WeWork, the last two as chief legal officer, Jared DeMatteis has resigned from the New York-based company.