Mavs flex defensive muscle in win over Celtics