Leaders of 23 European countries agreed in all-night talks Friday to surrender some sovereignty in a desperate attempt to save the continent‘s shared currency — but failed to get the four other European Union members to join in the proposed new treaty.