The high court’s ruling effectively endorses the unitary executive theory, greatly expanding the power of the president.