A Government veto power over what sensitive material can be disclosed by a new Troubles investigative commission is unlawful, the Court of Appeal has found.