A Senate hearing shows how the federal government hurts mining and energy