Flexport founder Ryan Petersen is cleaning house after Dave Clark, a former top executive at Amazon.com, abruptly resigned as chief executive of the freight forwarder following disagreements over the direction of the business and spending on new operations.