[ruby-core:116232] [Ruby master Bug#5179] Complex#rationalize and to_r with approximate zeros