A federal judge has rejected a confectionary’s motion to dismiss claims brought by a man who was trapped for hours in a hardened chocolate substance while cleaning a micron tank at the company’s facility.