The president’s announcement on Friday was one of many sweeping executive moves he’s making in his final days in office.