A SpaceX Falcon 9 rocket suffered an upper stage engine failure and deployed a batch of Starlink internet satellites into a perilously low orbit after launch from California Thursday night, the first blemish on the workhorse launcher’s record in more than 300 missions since 2016.