Following weeks of recrimination and distrust, Greece and its creditors in the 19-nation eurozone reached an agreement Friday on extending the country's rescue loans, a move that should dramatically ease concerns it was heading for the euro exit as soon as next month.