The legislation would restructure parts of Puerto Rico’s judicial system while preserving the Supreme Court’s constitutional powers, according to lawmakers