Court orders closure of Galamsey pits