A federal appeals court has ruled the Trump administration was within its rights when it bypassed various environmental regulations to quickly construct barriers near the U.S.-Mexico border in California.