In a chamber where one party enjoys a thin majority, Indiana’s junior senator has garnered disproportionate influence as one of a handful of Democratic legislators from red and purple states who hold swing votes.