Greece fended off a bankruptcy that threatened to roil global financial markets, approving severe sp