Tamara Smith ends Greens opposition to rail trails