Bath Rugby suffered heartbreak in the Challenge Cup semi-finals, losing 19-10 to Top 14 side Montpellier at the Rec.