After 17 hours of debate , the decision came down to Vice President Julio Cobos , who broke a 36-36 tie by casting his vote against the measure early Thursday .