Police have commended the behaviour of millions across New South Wales on New Year's Eve, despite officers breaking up several large gatherings in Sydney's suburbs.