A surprising borrowing plan from the Treasury Department helped drive down bond yields and revive stocks.