Tuesday’s vote appeared to be an attempt to broker a compromise between two warring sides of the debate after years of back-and-forth.