<p class="MsoNormal">The Senate passed legislation to fend off a debt ceiling crisis late Thursday, effectively ending months of partisan haggling that brought the federal government to the brink of a default.</p>