Bobby Wagner, Seahawks agree to contract extension