Republicans have won the majority in the House of Representatives, but their small margin may make life difficult for Speaker Mike Johnson.