Monday’s game looked like a loss for nearly 30 minutes, but the Celtics managed an ugly 103-95 win over the Pacers.