Twenty-four Republicans joined most Democrats to expel the New York congressman, but the resolution fell far short of the two-thirds majority needed to pass.