Undefine methods before redefining them

If you run RSpec test suite and turn on Ruby warnings (`ruby -w`), there are several warnings about method redefined:

* /lib/rspec/core/configuration.rb:191: warning: method redefined; discarding old pattern=
* /lib/rspec/core/example.rb:210: warning: method redefined; discarding old run
* /lib/rspec/core/example.rb:204: warning: previous definition of run was here

By `undef` these method first we can silence those warnings from Ruby.
I think a better solution to this is to add a `next if name.to_sym == :run` in the `Example.public_instance_methods(false).each do |name|` loop.  Then there's no reason to undef it.