SpaceX scrubbed an attempt to launch a commercial Falcon 9 rocket Sunday less than a minute before liftoff, blaming a sensor issue on the vehicle’s first stage and pushing back the company’s first national security mission for the U.S. government at least 24 hours.