The Starliner space capsule which developed faults as it transported two NASA astronauts to the International Space Station (ISS) is to be flown back to Earth unmanned on Friday.