A rail collision in Spain that claimed at least 68 lives on Wednesday came after a train was ordered to go in "error" by Spanish rail infrastructure manager Adif, despite a technical failure that halted all services, the transport minister said.