Astronauts making a rare, hastily planned spacewalk replaced a pump outside the International Space Station on Saturday in hopes of plugging a serious ammonia leak.