Corgi reached a $5 billion valuation. Internal messages and documents reveal the drama dogging the insurance startup.