In a game that featured Joel Embiid’s ejection, the Sixers pulled out a strange and dramatic win Monday night over the Spurs.