Congress is reorganizing the U.S. Code. Positive Law Codification:
Section 205(c) of House Resolution No. 988, 93d Congress, as enacted into law by Public Law 93-554 (2 U.S.C. 285b), provides the mandate for positive law codification.
Here is a brochure.
You describe "Congress repealing everything and passing the exact same laws again" as "ridiculous", but that is actually what happens at the completion of a title's positive law codification. For example, the enactment of Title 51 repealed a bunch of Title 42 and its enacting legislation and re-enacted much of the same law anew in Title 51.