Euro rebounds, stocks surge on Greek loan accord count falls