Two US astronauts stuck on the International Space Station will be brought back a few days earlier than expected, NASA says.