Hearts returned to Celtic Park looking for revenge but were taught a lesson by the side who snatched the Scottish Premiership title from their grasp.