Egyptian President Abdel Fattah al-Sisi has ratified legal amendments that allow the president to make judicial appointments to its top courts, a move judges said would erode the independence of the judicial system.