Almond and cherry tart with pistachio gelato