Whenever in the formation of a proposed county, a road, supervisorial, or school district has been divided the board of each affected county shall by resolution direct its treasurer to transfer the proper proportionate amount of the money remaining in the fund of such district to the treasurer of the proposed county.