Verifiable Compilation to Accelerators Using a Formal Software/Hardware Interface and Flexible Matching