Sixteen young plaintiffs had alleged the Montana state government had violated their right to a healthy environment