The last man prosecuted over the 2017 killing of Maltese journalist Daphne Caruana Galizia has been acquitted.