Military plane crash in Spain 'was caused by computer data accidentally being wiped from three of its engines'