With its lively dances, ghost scenes and touching arias, Hamlet was Ambroise Thomas’s single great success of the Paris Opera, remaining in its repertoire for decades after the 18…