SpaceX sacrificed one of its Falcon 9 rockets on Sunday to test the safety of its in-flight launch abort system, a critical step toward the company’s eventual goal of carrying astronauts to the International Space Station.