The administration sold a massive federal building in the heart of downtown Washington, the start of a renewed effort to dump large government offices that are underused.