Around the middle of the 20th century, science dispensed with the fantasy that we could easily colonize the other planets in our solar system. Science fiction writers absorbed the new reality: soon, moon and 5 asteroid settings replaced Mars and Venus.
As used in line 2 "dispensed with" most nearly means
A) distributed.
B) disposed of.
C) identified with.
D) renewed.