what if the rebels lost the battle of endor