Officials representing European institutions and the International Monetary Fund on Tuesday morning completed the draft of an agreement to unlock bailout aid for Greece, after key European and IMF leaders met in Berlin late Monday to overcome differences between Greece’s creditors, they said.