Ripple Labs plans to repurchase $285m stake in tender offer