WASHINGTON — The House on Thursday approved a bipartisan budget accord and a Pentagon policy bill that would strengthen protections for victims of sexual assault. But as it wrapped up its business for the year, it left unfinished a major piece of domestic policy — the farm bill — making it likely that Congress will not deal with it until January.