Celtics get to .500 with win over Pacers