Surgery of the Faber–Krahn inequality and applications to heat kernel bounds