Euro zone agrees to overhaul bailout fund in a move likely to appeal to investors