Queen Elizabeth II has approved the Brexit agreement, formally approving its entry it into UK law.