Rangers, Matt Harrison agree on contract extension