The return was prompted by a medical issue that NASA flight surgeons determined could not be fully treated on the International Space Station.