The House of Representatives on Wednesday roundly defeated a resolution demanding President Barack Obama withdraw all US forces from Afghanistan, in a key election-year test for his war strategy. Lawmakers routed the resolution in a 356-65 vote that saw 60 of Obama’s Democratic allies and five of his Republican critics cast ballots to call home all US forces from what he has called the central front against extremism. The measure demanded Obama pull US forces out of Afghanistan 30 days after the bill becomes law or, if he decides that is too dangerous, by no later than December 31.