Hearts claim Hibs scalp