The guilty plea, which is to be finalized Wednesday, will resolve Assange's outstanding legal matters with the U.S. government.Â