Tunisian law enforcement units deliberately delayed their arrival on the scene of the terrorist attack in Sousse in which 38 tourists were killed, an inquest has heard.