A rush by commercial real estate investors to complete their deals before a new excise tax took effect in Washington, D.C., helped new owners save millions, and in turn gave the city a surprise spike in revenue to end its fiscal year, a new report shows.