BC First Nations gear up for legal battle against pipeline