Nearly 200 jobs will be lost, following a decision to close a mine on the south coast of New South Wales.