The justice gave a rare public address on Wednesday that started as a benign celebration of the Declaration of Independence.