LUXEMBOURG—The eurozone agreed to lighten Greece’s debt burden when the country’s bailout ends this summer, but the measures fall short of what the International Monetary Fund and most economists say would be needed to end doubts about Greece’s long-term solvency.