Minister admits overflights during hostage release were error