The Matroid Structure of Representative Triple Sets and Triple-Closure Computation