Mining company withdraws pending exploration licence in Denmark after nearly 12,000 people sign petition