The federal government ran a budget deficit of $413 billion for the first six months of fiscal year 2014, CBO estimates—$187 billion less than the shortfall recorded in the same span last year.