A mean-field monomer-dimer model with attractive interaction: Exact solution and rigorous results