There isn’t any need for the President to say much more than to express condolences for the victims and that the matter is under investigation and will be handled in accordance with the law by the justice system.
Yes the President should limit himself to facts and not try to taint the investigation, he was smart not to make a “police acted stupidly” comment.
IMHO Trump did and said the correct things.