First Nation, environmental groups seek leave to appeal Trans Mountain ruling