Ghana to agree to IMF terms for $1b loan