Minn. deputies cleared in courthouse shooting