Ministers confirmed they would bring forward legislation restricting the licensing of new coal mines.