Johnson squeaks through chaotic vote session with first legislative victory for Donald Trump’s second term