Molecular basis for the unusual ring reconstruction in fungal meroterpenoid biogenesis.