Click the blockies that connect to remove them. If you click on a single blockie it will turn to ice, and the only way to remove it is to use the special powers that appear to the side. To use a special power drag and drop it over the grid.