The Magic extended the NBA’s longest home playoff losing streak after upsetting the No. 1 seed Detroit Pistons in Game 1 of their first-round series.