Years of preparation went into the secretive operation to eliminate the supreme leader.