MPs have cancelled a Treasury order that forced public offices to use the e-procurement system, saying it breaks the law and the Constitution.