Algebraic extensions of valued fields