A federal judge reinstated a ban on coal leasing from public lands, a moratorium that was implemented during the Obama administration. The decision will be appealed.