Australia just approved a mining project that could damage the Great Barrier Reef—and lose money