Overstock.com CEO Patrick Byrne has resigned from the company after admitting to an affair with Russian agent Maria Butina.